package com.ruoyi.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.web.domain.mes.delivery.DeliveryDetails;
import com.ruoyi.web.vo.Delivery;

import java.util.List;

public interface DeliveryMapper extends BaseMapper<Delivery> {

    List<Delivery> selectDeliveryList(Delivery  delivery);
    Delivery selectDeliveryListSum(Delivery  delivery);
    List<Delivery> selectQuantityById(String id);
    List<Delivery> selectDeliveryDetail(Delivery delivery);

    void updateProduceDeliveryCount(Delivery  delivery);
    // 根据发货单查询生产单信息
    List<Delivery> selectProduceOrder(Delivery delivery);
}
